package com.iecm.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * udp配置
 *
 * @author wangqi
 */
@Component
@ConfigurationProperties(prefix = "spring.tcp")
public class TcpGlobal {
    /** 端口号 */
    private static Integer port;

    public static Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        TcpGlobal.port = port;
    }
}
